package org.dromara.report.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.dromara.common.mybatis.core.mapper.BaseMapper;
import org.dromara.report.domain.Report;

import java.util.Collection;
import java.util.List;

/**
 * 跟物品有关的订单Mapper接口
 *
 * @author wenrui
 */
@Mapper
public interface ReportMapper extends BaseMapper<Report> {
  List<Report> getOrderList(@Param("bo") Report bo, @Param("tp") Collection<Integer> typeIds);
  List<Report> getProductOrderSort(@Param("bo") Report bo, @Param("tp") Collection<Integer> typeIds);
  List<Report> getOrderMsg(@Param("bo") Report bo, @Param("tp") Collection<Integer> typeIds);
}
